mobileAdGetVisible
Type
function
Summary
Return true if an ad is visible.
Syntax
mobileAdGetVisible(<ad>)
Description
Use the mobileAdGetVisible function to check if an ad created with mobileAdCreate is visible.
Parameters
Name | Type | Description |
---|---|---|
ad | The name of the ad. |
Examples
get mobileAdGetVisible("bannerAd")
put "bannerAd" into tAdName
if mobileAdGetVisible(tAdName) is true then
...
end if
Related
function: mobileAdGetTopLeft, mobileAds
message: adLoaded, adLoadFailed, adClicked
command: mobileAdCreate, mobileAdRegister, mobileAdSetVisible, mobileAdSetTopLeft
Compatibility and Support
Introduced
LiveCode 5.5
OS
ios
android
Platforms
mobile